const subApps = [
  {
    name: 'feedback',
    entrys: {
      'local': '//localhost:8092/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/feedback/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/feedback/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/feedback',
      'dev': '/yuantu/h5-app/feedback',
      'prod': '/yuantu/h5-app/feedback',
    },
  },
  {
    name: 'examples',
    entrys: {
      'local': '//localhost:8086/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/examples/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/examples/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/examples',
      'dev': '/yuantu/h5-app/examples',
      'prod': '/yuantu/h5-app/examples',
    },
  },
  {
    name: 'third-party',
    entrys: {
      'local': '//localhost:8087/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/third-party/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/third-party/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/third-party',
      'dev': '/yuantu/h5-app/third-party',
      'prod': '/yuantu/h5-app/third-party',
    }
  },
  {
    name: 'outpatient',
    entrys: {
      'local': '//localhost:8093/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/outpatient/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/outpatient/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/outpatient',
      'dev': '/yuantu/h5-app/outpatient',
      'prod': '/yuantu/h5-app/outpatient',
    }
  },
  {
    name: 'inpatient',
    entrys: {
      'local': '//localhost:8088/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/inpatient/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/inpatient/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/inpatient',
      'dev': '/yuantu/h5-app/inpatient',
      'prod': '/yuantu/h5-app/inpatient',
    }
  },
  {
    name: 'patient-card',
    entrys: {
      'local': '//localhost:8094/',
      'dev': '//uat.yuantutech.com/yuantu/h5-mf/patient-card/',
      'prod': '//s.yuantutech.com/yuantu/h5-mf/patient-card/',
    },
    container: '#subapp-viewport',
    activeRules: {
      'local': '/patient-card',
      'dev': '/yuantu/h5-app/patient-card',
      'prod': '/yuantu/h5-app/patient-card',
    }
  }
]

export default subApps
